#include "CPolygon.h"
#include "CRectangle.h"
#include "CTiangle.h"
#include <conio.h>
int main ()
{
	CRectangle rect;
	CTriangle trgl;
	rect.setValues (4,5);
	trgl.setValuse (4,5);
	cout <<rect.area()<<endl;
	cout<<trgl.area()<<engl;
	_getch();
	return 0;
}